import request from '@/utils/request'

export function listCart() {
  return request({
    url: '/cart/cart/selectCartList',
    method: 'get'
  })
}
export function settlementList(data) {
  return request({
    url: '/cart/cart/settlementList',
    method: 'post',
    data: data
  })
}

export function addCart(skuId,num) {
  return request({
    url: `/cart/cart/addCart/`+skuId+'/'+num,
    method: 'post',
  })
}
